<template>
  <div>
    <renderAmis :schema="jsons" v-if="jsons"></renderAmis>
  </div>
</template>

<script setup lang="ts">
import renderAmis from "@/components/renderAmis";
import { getSchema } from '@/utils/schema.ts'
const jsons = ref()
onMounted(async () => {
  jsons.value = JSON.parse(await getSchema({ id: 33 }))
})

</script>

<style lang="scss" scoped>
.cxd-Page .cxd-Page-content .cxd-Page-body>.cxd-Form {
  padding: 0;
}

::v-deep .cxd-Tabs-pane {
  display: none !important;
}
</style>